export function toType<T> (value: any) {
    return <T><unknown>value;
}